import Layout from "@/layout";

export const cptRouter = [

    {
        path: '/cpt/template/designer',
        component: Layout,
        hidden: true,
        permissions: ['cpt:cptTemplate:edit'],
        children: [
            {
                path: ':id(\\d+)',
                component: () => import('@/views/cpt/cptTemplate/designer.vue'),
                name: 'CptTemplateDesigner',
                meta: {title: '自定义打印模板设计', activeMenu: '/cpt/cptTemplate'}
            }
        ]
    }
]
